package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by shao-yikun on 2017/4/20.
 */
@Entity
@Table(name = "tb_roadsign", schema = "hualude_db", catalog = "")
public class RoadsignEntity {
    private Integer roadSignId;
    private Integer roadPoleId;
    private Integer roadSignDirection;
    private Integer roadSignType;
    private Integer roadSignMeaning;
    private Integer roadSignShape;
    private String roadSignSize;
    private String roadSignPic;
    private Integer roadSignMaterial;
    private Integer roadSignInstallType;
    private Integer roadSignFixed;
    private Integer roadSignSecurity;
    private Integer roadSignBug;
    private Integer orgId;
    private Integer createUserId;
    private String roadSignRemark;
    private Integer roadSignIsComplete;
    private Integer mainOrgId;
    private Integer roadSignLight;
    private Integer environment;
    private Integer defectsLiabilityPeriod;
    private Integer serviceLife;
    private String installOrg;
    private String roadSignInstallTime;
    private Integer roadSignRegionId;

    private Integer modifierId;  //外键修改人


    @Basic
    @Column(name = "ModifierId")
    public Integer getModifierId() {
        return modifierId;
    }

    public void setModifierId(Integer modifierId) {
        this.modifierId = modifierId;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "RoadSignId")
    public Integer getRoadSignId() {
        return roadSignId;
    }

    public void setRoadSignId(Integer roadSignId) {
        this.roadSignId = roadSignId;
    }

    @Basic
    @Column(name = "RoadPoleId")
    public Integer getRoadPoleId() {
        return roadPoleId;
    }

    public void setRoadPoleId(Integer roadPoleId) {
        this.roadPoleId = roadPoleId;
    }

    @Basic
    @Column(name = "RoadSignDirection")
    public Integer getRoadSignDirection() {
        return roadSignDirection;
    }

    public void setRoadSignDirection(Integer roadSignDirection) {
        this.roadSignDirection = roadSignDirection;
    }

    @Basic
    @Column(name = "RoadSignType")
    public Integer getRoadSignType() {
        return roadSignType;
    }

    public void setRoadSignType(Integer roadSignType) {
        this.roadSignType = roadSignType;
    }

    @Basic
    @Column(name = "RoadSignMeaning")
    public Integer getRoadSignMeaning() {
        return roadSignMeaning;
    }

    public void setRoadSignMeaning(Integer roadSignMeaning) {
        this.roadSignMeaning = roadSignMeaning;
    }

    @Basic
    @Column(name = "RoadSignShape")
    public Integer getRoadSignShape() {
        return roadSignShape;
    }

    public void setRoadSignShape(Integer roadSignShape) {
        this.roadSignShape = roadSignShape;
    }

    @Basic
    @Column(name = "RoadSignSize")
    public String getRoadSignSize() {
        return roadSignSize;
    }

    public void setRoadSignSize(String roadSignSize) {
        this.roadSignSize = roadSignSize;
    }

    @Basic
    @Column(name = "RoadSignPic")
    public String getRoadSignPic() {
        return roadSignPic;
    }

    public void setRoadSignPic(String roadSignPic) {
        this.roadSignPic = roadSignPic;
    }

    @Basic
    @Column(name = "RoadSignMaterial")
    public Integer getRoadSignMaterial() {
        return roadSignMaterial;
    }

    public void setRoadSignMaterial(Integer roadSignMaterial) {
        this.roadSignMaterial = roadSignMaterial;
    }

    @Basic
    @Column(name = "RoadSignInstallType")
    public Integer getRoadSignInstallType() {
        return roadSignInstallType;
    }

    public void setRoadSignInstallType(Integer roadSignInstallType) {
        this.roadSignInstallType = roadSignInstallType;
    }

    @Basic
    @Column(name = "RoadSignFixed")
    public Integer getRoadSignFixed() {
        return roadSignFixed;
    }

    public void setRoadSignFixed(Integer roadSignFixed) {
        this.roadSignFixed = roadSignFixed;
    }

    @Basic
    @Column(name = "RoadSignSecurity")
    public Integer getRoadSignSecurity() {
        return roadSignSecurity;
    }

    public void setRoadSignSecurity(Integer roadSignSecurity) {
        this.roadSignSecurity = roadSignSecurity;
    }

    @Basic
    @Column(name = "RoadSignBug")
    public Integer getRoadSignBug() {
        return roadSignBug;
    }

    public void setRoadSignBug(Integer roadSignBug) {
        this.roadSignBug = roadSignBug;
    }

    @Basic
    @Column(name = "OrgId")
    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    @Basic
    @Column(name = "CreateUserId")
    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    @Basic
    @Column(name = "RoadSignRemark")
    public String getRoadSignRemark() {
        return roadSignRemark;
    }

    public void setRoadSignRemark(String roadSignRemark) {
        this.roadSignRemark = roadSignRemark;
    }

    @Basic
    @Column(name = "RoadSignIsComplete")
    public Integer getRoadSignIsComplete() {
        return roadSignIsComplete;
    }

    public void setRoadSignIsComplete(Integer roadSignIsComplete) {
        this.roadSignIsComplete = roadSignIsComplete;
    }

    @Basic
    @Column(name = "MainOrgId")
    public Integer getMainOrgId() {
        return mainOrgId;
    }

    public void setMainOrgId(Integer mainOrgId) {
        this.mainOrgId = mainOrgId;
    }

    @Basic
    @Column(name = "RoadSignLight")
    public Integer getRoadSignLight() {
        return roadSignLight;
    }

    public void setRoadSignLight(Integer roadSignLight) {
        this.roadSignLight = roadSignLight;
    }

    @Basic
    @Column(name = "Environment")
    public Integer getEnvironment() {
        return environment;
    }

    public void setEnvironment(Integer environment) {
        this.environment = environment;
    }

    @Basic
    @Column(name = "DefectsLiabilityPeriod")
    public Integer getDefectsLiabilityPeriod() {
        return defectsLiabilityPeriod;
    }

    public void setDefectsLiabilityPeriod(Integer defectsLiabilityPeriod) {
        this.defectsLiabilityPeriod = defectsLiabilityPeriod;
    }

    @Basic
    @Column(name = "ServiceLife")
    public Integer getServiceLife() {
        return serviceLife;
    }

    public void setServiceLife(Integer serviceLife) {
        this.serviceLife = serviceLife;
    }

    @Basic
    @Column(name = "InstallOrg")
    public String getInstallOrg() {
        return installOrg;
    }

    public void setInstallOrg(String installOrg) {
        this.installOrg = installOrg;
    }

    @Basic
    @Column(name = "RoadSignInstallTime")
    public String getRoadSignInstallTime() {
        return roadSignInstallTime;
    }

    public void setRoadSignInstallTime(String roadSignInstallTime) {
        this.roadSignInstallTime = roadSignInstallTime;
    }

    @Basic
    @Column(name = "RoadSignRegionId")
    public Integer getRoadSignRegionId() {
        return roadSignRegionId;
    }

    public void setRoadSignRegionId(Integer roadSignRegionId) {
        this.roadSignRegionId = roadSignRegionId;
    }

}
